package com.itbaizhan.test.a;

public class Person {
    //测试的是属性，方法是一样
    private   int testPrivate;
              int testDefault;//默认
    protected int testProtected;
    public    int testPublic;

    public void test(){
        //本身的都可以用
        System.out.println(this.testPrivate);
        System.out.println(this.testDefault);
        System.out.println(this.testProtected);
        System.out.println(this.testPublic);
    }
}
